package com.bw.shop.splash;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;
/**
 * 注解声明获取token接口的网络请求:
 * 请求方式post
 * 请求参数requestBody
 * */
public interface ApiService {

    @POST("sysToken/getToken")
    Observable<TokenEntity>requestToken(@Body RequestBody body);

}
